#ifndef INCLUDED_Enemy_H
#define INCLUDED_Enemy_H

#include<SGE.h>
using namespace SGE;

class Enemy
{
public:
	Enemy();
	~Enemy();

	void Load();
	void Unload();
	void Update(float deltaTime);
	void Render();

	void Spawn(const SVector2& pos);
	void Kill();

	bool IsActive() const             { return mActive;}
	SCircle GetBoundingCircle() const { return SCircle(mPosition, 40.0f);}
private:
	SGE_Sprite mSprite;
	SVector2 mTrackPosition;
	SVector2 mPosition;
	SVector2 mVelocity;
	float mTimer;
	/*float mDelay;*/
	bool mActive;
};

#endif



//OOP - Object Oriented Programming
//-> ability to create user defined types
//-> what is a type?
//	-properties(member variables)
//	- behaviours(mumber functions)
//
//"What does it contain?"
//"what can you do with it?"
//
//- In C++,type us created with "class" keyword
//- What does a class provide
//i) Encapsulation
//ii) Inheritance
//iii) Polymorphism


